import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Demo from './js/demo'

import Vue from 'vue'
import App from './App.vue'
import router from './router'
Vue.config.productionTip = false

const demo = new Demo()
Vue.prototype.$demo = demo

Vue.use(ElementUI)

new Vue({
    render: h => h(App),
    router,
}).$mount('#app')